package com.gao.api.gate.quick.proto.push;

import com.gao.api.gate.quick.proto.point.RequestHandler;
import com.gao.api.gate.quick.proto.http.HttpRequest;

/**
 * <p></p>
 *
 * @author gaoshuangwen
 * @since 2022/01/11 21:06
 */
public interface AsyncClient {

    ListenableFuture<Response> connect(HttpRequest request, RequestHandler handler);

    void write(HttpRequest request);

    void connect();

}
